package cn.stylefeng.guns.modular.goodsMcJst.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;

import cn.stylefeng.guns.modular.goodsMcJst.entity.GoodsMcJst;
import cn.stylefeng.guns.modular.goodsMcJst.model.params.GoodsMcJstParam;
import cn.stylefeng.guns.modular.goodsMcJst.model.result.GoodsMcJstResult;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 猫超聚水潭商品对应关系 服务类
 * </p>
 *
 * @author wp
 * @since 2025-07-24
 */
public interface GoodsMcJstService extends IService<GoodsMcJst> {

    /**
     * 新增
     *
     * @author wp
     * @Date 2025-07-24
     */
    void add(GoodsMcJstParam param);

    /**
     * 删除
     *
     * @author wp
     * @Date 2025-07-24
     */
    void delete(GoodsMcJstParam param);

    /**
     * 更新
     *
     * @author wp
     * @Date 2025-07-24
     */
    void update(GoodsMcJstParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wp
     * @Date 2025-07-24
     */
    GoodsMcJstResult findBySpec(GoodsMcJstParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wp
     * @Date 2025-07-24
     */
    List<GoodsMcJstResult> findListBySpec(GoodsMcJstParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wp
     * @Date 2025-07-24
     */
     LayuiPageInfo findPageBySpec(GoodsMcJstParam param,String condition);

    ResponseData getExceldata(MultipartFile file, GoodsMcJstParam goodsMcJstParam, ResponseData data) throws IOException;


}
